home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / ScreenSavers / darken / missing.h < prev    next >
C/C++ Source or Header  |  1995-06-12  |  1KB  |  52 lines

  1. /*
  2.  * missing.h -- NeXTStep 2.1 header information missing from NeXTStep 3.0
  3.  */
  4.  
  5.  
  6. /*
  7.  * brightness register -- NS 2.1 <next/scr.h>
  8.  */
  9.  
  10. #define    BRIGHT_MAX    0x3d
  11. #define    BRIGHT_MIN    0x00
  12.  
  13. /*
  14.  * Non-volatile RAM (NVRAM) information structure -- NS 2.1 <mon/nvram.h>
  15.  */
  16.  
  17. struct nvram_info {
  18. #define    NI_RESET    9
  19.     u_int    ni_reset : 4,
  20. #define    SCC_ALT_CONS    0x08000000
  21.         ni_alt_cons : 1,
  22. #define    ALLOW_EJECT    0x04000000
  23.         ni_allow_eject : 1,
  24.         ni_vol_r : 6,
  25.         ni_brightness : 6,
  26. #define    HW_PWD    0x6
  27.         ni_hw_pwd : 4,
  28.         ni_vol_l : 6,
  29.         ni_spkren : 1,
  30.         ni_lowpass : 1,
  31. #define    BOOT_ANY    0x00000002
  32.         ni_boot_any : 1,
  33. #define    ANY_CMD        0x00000001
  34.         ni_any_cmd : 1;
  35. #define    NVRAM_HW_PASSWD    6
  36.     u_char ni_ep[NVRAM_HW_PASSWD];
  37. #define    ni_enetaddr    ni_ep
  38. #define    ni_hw_passwd    ni_ep
  39.     u_short ni_simm;        /* 4 SIMMs, 4 bits per SIMM */
  40.     char ni_adobe[2];
  41.     u_char ni_pot[3];
  42.     u_char    ni_new_clock_chip : 1,
  43.         ni_auto_poweron : 1,
  44.         ni_use_console_slot : 1,    /* Console slot was set by user. */
  45.         ni_console_slot : 2,        /* Preferred console dev slot>>1 */
  46.         ni_use_parity_mem : 1,    /* Use parity RAM if available? */
  47.         : 2;
  48. #define    NVRAM_BOOTCMD    12
  49.     char ni_bootcmd[NVRAM_BOOTCMD];
  50.     u_short ni_cksum;
  51. };
  52.